﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FlagList.aspx.cs" Inherits="Manage_System_FlagList" %>

<html>
<head>
    <!--#include file="../js/html_head.inc"-->
    <link rel="stylesheet" type="text/css" href="../Themes/<%=ManageHelper.GetTheme()%>/style.css" />

    <script type="text/javascript">
        function refresh(obj) {
            location.href = 'FlagList.aspx?ft=' + obj.value;
        }
    </script>

</head>
<body>
    <%=ManageHelper.PageSucMsg()!=""?"<div class='msg_succeed'>"+ManageHelper.PageSucMsg()+"</div>":""%>
    <%=ManageHelper.PageErrMsg()!=""?"<div class='msg_failed'>"+ManageHelper.PageErrMsg()+"</div>":""%>
    <table width="95%" align="center">
        <tr>
            <td align="right">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr>
                        <td width="100">
                            <select onchange="refresh(this)" style="width: 90px;">
                                <option value="0" <%=flagtype==0?"selected":"" %>>系统</option>
                                <option value="1" <%=flagtype==1?"selected":"" %>>站点</option>
                            </select>
                        </td>
                        <td>
                            <input id="AddBtn" style="margin-top: 10px;" type="submit" name="AddGroup" value="添加<%=flagtype.ToString().Replace("0","系统").Replace("1","站点").Replace("2","商户").Replace("5","一网通") %>模块"
                                onclick="ymPrompt.win('FlagItem.aspx?ft=<%=flagtype %>',450,390,'添加模块管理',null,null,null,true);"
                                id="AddGroup" class="button" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <div class="column">
        <div class="columntitle">
            内容模型
        </div>
        <table cellspacing="0" cellpadding="0" rules="all" align="center" border="0" id="MyDataGrid"
            style="border-width: 0px; width: 100%; border-collapse: collapse;">
            <tr class="summary-title" align="center" style="height: 25px;">
                <td align="left">
                    模块名称
                </td>
                <td style="width: 200px;" align="left">
                    模块标记
                </td>
                <!--<td>
                    程序地址</td>-->
                <td style="width: 80px;">
                    排序
                </td>
                <td style="width: 80px;">
                    展开
                </td>
                <td style="width: 80px;">
                    导航
                </td>
                <td style="width: 120px;">
                    操作
                </td>
            </tr>
            <%=GetListP(0)%>
        </table>
    </div>
</body>
</html>
